<%#
# To change this template, choose Tools | Templates
# and open the template in the editor.
%>
<%user_class = "Student"%>

<% content_for :college_name do %>
 <%= h(@university.name)  %>
<%end%>


<div class="categories">
     <%@all_categories.each do |category| -%>
	 <div class="links">
         <ul>
		 <li class="cat_head"><%= link_to h(category.label_for_userType(user_class)), { :controller=> "listings" , :id => category.id},:class=>"no_decoration" -%></li>
         <%category.sub_categories.each do |sub_category| -%>
           <li> <%=h(sub_category.name) -%> </li>
         <%end%>
		 </ul>
     </div>
    <%end%>
</div>

 <div class="latest-posts">
	   <div class="latest-on">Latest on SearchmyCampus at IMT Ghaziabad </div>
	    <%@all_categories.each do |category| -%>
       <div class="latest-post-tabs">
          <div class="post-tabs-heads-1"><%= h(category.name) %></div>
		  <div class="post-tabs-heads-2">Helpline</div>
		  <div class="post-tabs-heads-3">Tips</div>
	      <div class="post-tabs-posts">


            <ul>
              <%category.sub_categories.each do|sub_category|%>
               
                <li class="latest-post-ads">
		        <div class="latest-post-ads-headings">B.Com Graduate looking for a Full Time Job</div>
				<div class="latest-post-ads-posts">resumes/full time, 5-june-09,11:18am</div>
	            </li>
				<li class="latest-post-ads">
		        <div class="latest-post-ads-headings">B.Com Graduate looking for a Full Time Job</div>
				<div class="latest-post-ads-posts">resumes/full time, 5-june-09,11:18am</div>
	            </li>
				<li class="latest-post-ads">
		        <div class="latest-post-ads-headings">B.Com Graduate looking for a Full Time Job</div>
				<div class="latest-post-ads-posts">resumes/full time, 5-june-09,11:18am</div>
	            </li>
				<li class="latest-post-ads">
		        <div class="latest-post-ads-headings">B.Com Graduate looking for a Full Time Job</div>
				<div class="latest-post-ads-posts">resumes/full time, 5-june-09,11:18am</div>
	            </li>
				<li class="latest-post-ads">
		        <div class="latest-post-ads-headings">More</div>
				</li>
	      </ul>
            <%end%>
	      </div>
	      
      </div>
     <%end%>
 </div>


	   